<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>后台首页</title>
    <link rel="stylesheet" th:href="@{/statics/css/common.css}" type="text/css">
</head>
<body>
<header>
    <span th:text="${'欢迎'+session.admin.name}"></span>
    <span th:if="${session.admin != null}"><a th:href="@{/to/existAdmin}">退出登录</a></span>
</header>
    <a>用户管理</a><br>
    <a th:href="@{/newsMgr}">新闻管理</a><br>
    <a th:href="@{/newstypeMgr}">新闻分类管理</a><br>
</body>
</html>